package org.bbelovic.devel.snake;

public class GameContext {

    private final Snake snake;
    private final CircleGenerator circleGenerator;
    private final int panelWidth;
    private final int panelHeight;

    public GameContext(final Snake snake, final CircleGenerator circleGenerator, final int panelWidth, final int panelHeight) {
        this.snake = snake;
        this.circleGenerator = circleGenerator;
        this.panelWidth = panelWidth;
        this.panelHeight = panelHeight;
    }

    public Snake getSnake() {
        return snake;
    }

    public CircleGenerator getCircleGenerator() {
        return circleGenerator;
    }

    public int getPanelWidth() {
        return panelWidth;
    }

    public int getPanelHeight() {
        return panelHeight;
    }

}
